package elements;

public class User {
	private String userId;
	private String type;
	private String website;
	private String title;
	private int endTime;
	private String cityName;
	private double price;
	private double discountPercent;
	private long updateTime;
	private int salesNum;
	private int distance;
	
	public User(String userId, String type, String website, String title,
			int endTime, String cityName, double price, double discountPercent,
			long updateTime, int salesNum, int distance) {
		super();
		this.userId = userId;
		this.type = type;
		this.website = website;
		this.title = title;
		this.endTime = endTime;
		this.cityName = cityName;
		this.price = price;
		this.discountPercent = discountPercent;
		this.updateTime = updateTime;
		this.salesNum = salesNum;
		this.distance = distance;
	}

	public User(String userId) {
		this.userId = userId;
	}

	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getWebsite() {
		return website;
	}
	
	public void setWebsite(String website) {
		this.website = website;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public int getEndTime() {
		return endTime;
	}
	
	public void setEndTime(int endTime) {
		this.endTime = endTime;
	}
	
	public String getCityName() {
		return cityName;
	}
	
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	
	public double getPrice() {
		return price;
	}
	
	public void setPrice(double price) {
		this.price = price;
	}
	
	public double getDiscountPercent() {
		return discountPercent;
	}
	
	public void setDiscountPercent(double discountPercent) {
		this.discountPercent = discountPercent;
	}
	
	public long getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(long updateTime) {
		this.updateTime = updateTime;
	}

	public int getSalesNum() {
		return salesNum;
	}

	public void setSalesNum(int salesNum) {
		this.salesNum = salesNum;
	}

	public int getDistance() {
		return distance;
	}

	public void setDistance(int distance) {
		this.distance = distance;
	}
	
}
